Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem overview: A project I use on a docker container watches for changes to files. It ignores file added and moved_to events, only listening file modification FS events to trigger the desired behavior (which never happens with Mutagen). Mutegen's staging strategy is a good and correct one; I'm just looking into the possibility of a workaround.
This is a spike to see if I could get something working, not ready to merge.
I'm confident that
Chtimes
is running in my docker container, but unlike runningtouch
locally, it's not triggering modifications.I verified that the code in question is running by adding
os.Create(filePath = ".synced")
adjacent to theChtimes
call, and it does indeed create a.synced
-suffixed file for each file that is modified.I'll continue investigating, including confirming whether Chtimes returns any error, but please let me know if you have any ideas that might put me in the right direction.